package com.blb.zycommunity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 业主 
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@TableName("zy_owner")
@Data
@ApiModel(value = "ZyOwner对象", description = "业主 ")
public class ZyOwner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("业主id")
    private String ownerId;

    @ApiModelProperty("昵称")
    private String ownerNickname;

    @ApiModelProperty("真实姓名")
    private String ownerRealName;

    @ApiModelProperty("性别unknow未知male男female女")
    private String ownerGender;

    @ApiModelProperty("年龄")
    private Integer ownerAge;

    @ApiModelProperty("身份证号码")
    private String ownerIdCard;

    @ApiModelProperty("手机号码")
    private String ownerPhoneNumber;

    @ApiModelProperty("openid")
    private String ownerOpenId;

    @ApiModelProperty("微信号")
    private String ownerWechatId;

    @ApiModelProperty("qq号码")
    private String ownerQqNumber;

    @ApiModelProperty("出生日期")
    private LocalDate ownerBirthday;

    @ApiModelProperty("头像")
    private String ownerPortrait;

    @ApiModelProperty("个性签名")
    private String ownerSignature;

    @ApiModelProperty("禁用状态enable启用-disable禁用")
    private String ownerStatus;

    @ApiModelProperty("注册方式（weChat微信-app-web）")
    private String ownerLogonMode;

    @ApiModelProperty("业主类型")
    private String ownerType;

    @ApiModelProperty("密码")
    private String ownerPassword;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @TableField(exist = false)
    private ZyCommunity zyCommunity;

    @TableField(exist = false)
    private ZyUnit zyUnit;

    @TableField(exist = false)
    private ZyBuilding zyBuilding;

    @TableField(exist = false)
    private ZyRoom zyRoom;

    @TableField(exist = false)
    private ZyOwnerRoom zyOwnerRoom;

    @TableField(exist = false)
    private ZyOwnerRoomRecord zyOwnerRoomRecord;


}
